
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/6/6 0006
  Time: 10:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <title>Title</title>
</head>
<style type="text/css">
    table,table tr td {
        border: 1px solid #000;
        text-align: center;

        border-collapse: collapse;
    }
    table tr td {
        padding: 10px 30px;

    }

</style>
<body>

    <table >
        <tr style="border:1px solid #000">
            <td>uuid</td>
            <td>用户名</td>
            <td>真实姓名</td>
            <td>性别</td>
            <td>生日</td>

        </tr>
        <c:forEach items="${userList}" var="user">
            <tr>
                <td>${user.uuid}</td>
                <td>${user.username}</td>
                <td>${user.realname}</td>
                <td>${user.gender}</td>
                <td>${user.birthday}</td>

            </tr>
        </c:forEach>

    </table>
    <a href="${pageContext.request.contextPath}/user?currentPage=1">首页</a>
    <a href="${pageContext.request.contextPath}/user?currentPage=${pageBean.prePage}">${pageBean.prePage}上一页</a>
    <a href="${pageContext.request.contextPath}/user?currentPage=${pageBean.nextPage}">${pageBean.nextPage}下一页</a>
    <a href="${pageContext.request.contextPath}/user?currentPage=${pageBean.totalPages}">末页</a>
    共计${pageBean.totalCount}记录
    共计${pageBean.totalPages}页
    当前${pageBean.currentPage}页


</body>
</html>
